<div class="breadLine">

    <ul class="breadcrumb">
        <li><a href="#">Thông báo</a> <span class="divider">&gt;</span></li>                
        <li class="active">Chi tiết thông báo</li>
    </ul>
</div>

<div class="workplace">          
    
    <div class="page-header">
        <h1 style="width: 60%;border-bottom: none 0;"><small style="color: #30557f;">Chi tiết </small></h1>
    </div>  
    
    <div class="row-fluid">
        <div class="span8">                       
            <div class="headInfo">
                               
                <div class="actions">
                    <span style="float: left;"><strong>Tiêu đề: </strong><?php echo $data->title?></span>
                    <div class="btn-group">
                        <button onclick="window.location='<?php echo $baseurl.'notification.html'?>'" class="btn btn-small btn-warning tip" title="" data-original-title="Quay lại"><span class="icon-upload icon-white"></span></button>                        
                    </div>             
                </div>
                <div class="arrow_down"></div>
            </div>
            <div class="block stream">

                    <div class="item clearfix">
                        <div class="image">
                            Người tạo thông báo:
                        </div>
                        <div class="info">
                            <?php echo $data->username .' / '. $data->fullname?>                       
                        </div>                                
                    </div>
                    <div class="item clearfix">
                        <div class="image">
                            Ngày tạo:
                        </div>
                        <div class="info">
                            <?php echo $data->time ?>                       
                        </div>                                
                    </div>
                    <div class="item clearfix">
                        <div class="image">
                            Nội dung:
                        </div>
                        <div class="info">
                            <?php echo nl2br(strip_slashes($data->content)); ?>                       
                        </div>                                
                    </div>
            </div>                                        
        </div>
        <div class="span4">
            <div class="row-fluid">
                <div class="span12">

                    <div class="head clearfix">
                        <div class="isw-users"></div>
                        <h1>File đính kèm</h1>
                        <ul class="buttons">        
                            <li class="toggle"><a href="#"></a></li>
                        </ul>                                  
                    </div>                     
                    <div class="block-fluid users">    
                    <?php if(!in_array($data->file, array(null, '', '0'))):?>                                       
                        <?php $dc = json_decode($data->file); foreach($dc AS $el=>$le):?>
                            <div class="item clearfix">
                                <div class="image"><?php echo $el+1?>.</div>
                                <div class="info">
                                    <a class="name" target="_blank" href="<?php echo $baseurl.$le?>">
                                        <?php echo $fview->expNameFile($le);?>
                                    </a>
                                    <a style="float: right;" class="name" target="_blank" href="<?php echo $baseurl.$le?>">
                                        [ Tải về ]
                                    </a>
                                </div>
                            </div>
                        <?php endforeach;?>
                    <?php else:?>
                        <p>Không có tập tin nào được đính kèm</p>
                    <?php endif;?>
                    </div>                            
                </div>                                                                        
            </div>
        </div>
    </div>            
</div>
<style>
.stream .item .image {
    position: absolute;
    width: 125px;
    padding: 5px 0px 5px 0px;
    left: 0px;
    top: 0px;
}
.stream .item .info {
    margin: 5px 5px 5px 130px;
    font-size: 11px;
}
.users .item .image {
position: absolute;
left: 10px;
top: 15px;
}
.users .item .info {
padding-left: 24px;
line-height: 32px;
}
</style>